package cn.edu.scau.dormitory_management_system.service;

import cn.edu.scau.dormitory_management_system.entity.BedEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author wanglingfu
 * @email 1006340605@qq.com
 * @date 2021-08-02 14:35:10
 */
public interface BedService extends IService<BedEntity> {
    int deleteBed(int dormId);
    int insertBed(int dormId, int n);
    void insertList(List<Integer> ids, List<Integer> n);
    boolean update(BedEntity bedEntity);
    BedEntity getByDormId(int dormId);

    BedEntity getByStuId(String studentId);
}

